<?php //not used?
$startYear = intval($startYear);
			$endYear = intval($endYear);
			for($i = $startYear; $i <= $endYear; $i++){
				$result = $result . "<th>$i</th>";
			}
			$result = $result . "</thead><tbody>";
			$result = $result . "</tr>";
			foreach($nameAssoc as $name => $crop){
				$result = $result . "<tr><td><img src=\"DataTables-1.7.3/details_open.png\" /></td><td>$name</td>";
				$cropRow = getMultiYearCropData($startDate, $endDate, $crop, $attrs[0]);
				for($i = $startYear; $i <= $endYear; $i++){
					if(isset($cropRow[$i])){
						$result = $result . "<td>" . $cropRow[$i] . "</td>";
					}else{
						$result = $result . "<td></td>";
					}
				}
				$result = $result . "</tr>";
			}
?>